package logic

import (
	"context"

	"zeroOne/goods_srv/rpc/goods"
	"zeroOne/goods_srv/rpc/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type GoodsInfoLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewGoodsInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GoodsInfoLogic {
	return &GoodsInfoLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *GoodsInfoLogic) GoodsInfo(in *goods.GoodsInfoRequest) (*goods.GoodsInfoResponse, error) {
	// todo: add your logic here and delete this line

	return &goods.GoodsInfoResponse{}, nil
}
